package myky.com.doctorapp.contract;

import java.util.List;

import io.reactivex.Observable;
import myky.com.doctorapp.base.BaseEntity;
import myky.com.doctorapp.base.BaseView;
import myky.com.doctorapp.entity.DoctorTeamEntity;

public interface DoctoeTeamContract {
    interface Model {

        Observable<BaseEntity<DoctorTeamEntity>> getDoctorTeamInfo(String version, String id);

    }

    interface View extends BaseView<DoctorTeamEntity> {

        /**
         * 返回团队信息
         */
        void showTeamInfo(DoctorTeamEntity doctorTeamEntity);

        /**
         * 返回团队成员
         */
        void showTeamMenber(List<DoctorTeamEntity.OtherdoctorsBean> otherdoctors);

        /**
         * 返回医生的出诊时间表
         */
        void showScadule(List<DoctorTeamEntity.DoctorvisitsBean> doctorvisits);
    }

    interface Presenter {

        /**
         * 获取团队的信息
         */

        void getTeamInfo(String version, String doctorId);
    }
}
